package com.chebaohui.iqs.entity.req;

import com.chebaohui.iqs.entity.base.CarOrder;
import com.chebaohui.iqs.entity.base.Owner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CarPermit", description = "车辆车险核保接口请求信息")
public class CarPermit {
	@ApiModelProperty(value = "保险公司编码")
	private String companyCode;// 选择保险公司报价的编码

	@ApiModelProperty(value = "订单信息")
	private CarOrder carOrder;

	@ApiModelProperty(value = "车主信息")
	private Owner owner;

	@ApiModelProperty(value = "投保人信息")
	private Owner applicant;

	@ApiModelProperty(value = "收件人信息")
	private Owner dispatch;

	@ApiModelProperty(value = "被保人信息")
	private Owner insured;

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public CarOrder getCarOrder() {
		return carOrder;
	}

	public void setCarOrder(CarOrder carOrder) {
		this.carOrder = carOrder;
	}

	public Owner getOwner() {
		return owner;
	}

	public void setOwner(Owner owner) {
		this.owner = owner;
	}

	public Owner getApplicant() {
		return applicant;
	}

	public void setApplicant(Owner applicant) {
		this.applicant = applicant;
	}

	public Owner getDispatch() {
		return dispatch;
	}

	public void setDispatch(Owner dispatch) {
		this.dispatch = dispatch;
	}

	public Owner getInsured() {
		return insured;
	}

	public void setInsured(Owner insured) {
		this.insured = insured;
	}

	@Override
	public String toString() {
		return "CarPermit [companyCode=" + companyCode.toString() + ", carOrder=" + carOrder.toString() + ", owner="
				+ owner.toString() + ", applicant=" + applicant.toString() + ", dispatch=" + dispatch.toString()
				+ ", insured=" + insured.toString() + "]";
	}

}
